<ion-view title="选择商品">

  <ion-content class="has-header" has-bouncing="true" overflow-scroll="false">
      <img ng-src="data:image/jpeg;base64,{{data.imgData}}" style="width: 100%;height: 300px">
      <div style="padding: 10px">
          <div style="color: #808080">{{data.name}}({{data.sort}})</div>
          <div style="font-size: 18px;margin-top: 10px;color: #ffb108">
              ￥{{data.price}}
          </div>
          <div style="margin-top: 10px">
              已上架数目：{{data.sellNum}}

          </div>
          <div style="margin-top: 10px">
              属性描述：{{data.attr}}
          </div>
      </div>
      <div style="text-align: center;">
          <div id="testId" ng-if="show" class="alert">
              <span style="padding: 10px;background-color: #000000;color: #ffffff">{{message}}</span>
          </div>
      </div>
  </ion-content>
    <ion-footer-bar>
        <div class="button-bar">
            <!--<a class="button button-positive" style="font-size:16px;" href="#/app/changGoods/{{data._id}}"><b>修改</b></a>-->
            <a class="button button-assertive" style="font-size:16px;" ng-click="select();"><b>确定选择</b></a>
        </div>
    </ion-footer-bar>
</ion-view>

